package com.xtedu.examproject.dao.base;

import com.xtedu.examproject.entity.MenuPath;
import com.xtedu.examproject.util.PageHelper;

import java.util.List;

public interface MenuPathDao extends BaseDao<MenuPath> {
    List<MenuPath> findAll() throws Exception;
    PageHelper findAll(int pageindex, int pagesize) throws Exception;
    PageHelper findByRoleIds(int pageindex, int pagesize, int... roleIds) throws Exception;

    PageHelper findPageByRoleIds(int pageindex, int pagesize, int... roleIds) throws Exception;
}
